// 出租-房东验证-房源验证-房源出租
const rentHouse = [
  {
    name: 'rentHouse',
    path: '/rentHouse',
    meta: {
      title: '我是房东',
      loginRequire: true
    },
    component: resolve => { require(['@/views/rentHouse/rentHouse.vue'], resolve) }
  },
  // 房东认证板块
  // 发布房源板块
  {
    name: 'verifyHouse',
    path: '/verifyHouse',
    meta: {
      title: '验证房源',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/verifyHouse.vue'], resolve) }
  },
  {
    name: 'verifyHouseCommon',
    path: '/verifyHouseCommon',
    meta: {
      title: '验证房源',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/verifyHouseCommon.vue'], resolve) }
  },
  {
    name: 'houseInfo',
    path: '/houseInfo',
    meta: {
      title: '房屋信息',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/houseInfo.vue'], resolve) }
  },
  {
    name: 'houseSet',
    path: '/houseSet',
    meta: {
      title: '出租信息',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/houseSet.vue'], resolve) }
  },
  {
    name: 'houseImages',
    path: '/houseImages',
    meta: {
      title: '房源照片',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/houseImages.vue'], resolve) }
  },
  // 选择合同
  {
    name: 'chooseContract',
    path: '/chooseContract',
    meta: {
      title: '选择合同',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/chooseContract.vue'], resolve) }
  },
  {
    name: 'houseDesc',
    path: '/houseDesc',
    meta: {
      title: '发布房源',
      loginRequire: true,
      identityValidate: true
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/houseDesc.vue'], resolve) }
  },
  // 我的房源板块
  {
    name: 'myHouse',
    path: '/myHouse',
    meta: {
      title: '我的房源',
      loginRequire: true
    },
    component: resolve => { require(['@/views/rentHouse/myHouse/myHouse.vue'], resolve) }
  },
  {
    name: 'successHouse',
    path: '/successHouse',
    meta: {
      title: '发布房源'
    },
    component: resolve => { require(['@/views/rentHouse/releaseHouse/successHouse.vue'], resolve) }
  }
]

export default rentHouse
